//
//  LzyLocationManager.h
//  RenmaiGroup
//
//  Created by mac on 2018/11/3.
//  Copyright © 2018 iOS . All rights reserved.
//

#import <Foundation/Foundation.h>
#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^LzyLocationSuccess) (double lat, double lng);
typedef void(^LzyLocationFailed) (NSError *error);


@interface LzyLocationManager : NSObject<CLLocationManagerDelegate>
{
    CLLocationManager *manager;
    LzyLocationSuccess successCallBack;
    LzyLocationFailed failedCallBack;
}
+ (LzyLocationManager *) sharedGpsManager;

+ (void) getLzyLocationWithSuccess:(LzyLocationSuccess)success Failure:(LzyLocationFailed)failure;

+ (void) stop;


@end

NS_ASSUME_NONNULL_END
